package com.yz.xyt.domain.vo;

import com.yz.xyt.constant.Constants;
import com.yz.xyt.domain.Department;

public class DepartmentVo extends Department {
    private Integer pageSize;

    private Integer pageNumber;

    public Integer getPageSize() {
        return pageSize = "".equals(pageSize) || pageSize == null ? Constants.DEFAULT_PAGE_SIZE : pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageNumber() {
        return pageNumber = "".equals(pageNumber) || pageNumber ==null ? Constants.DEFAULT_PAGE_NUMBER : pageNumber;
    }

    public void setPageNumber(Integer pageNumber) {
        this.pageNumber = pageNumber;
    }
}
